package com.woniuxy.commons.exception;

import com.woniuxy.commons.exception.code.CartExceptionCode;
import com.woniuxy.commons.exception.code.UserExceptionCode;

public class CartException extends WoniuxyException{
    private static final long serialVersionUID = 1L;

    public CartException(Integer code, String message) {
        super(code, message);
    }
    public CartException(CartExceptionCode cartExceptionCode){
        super(cartExceptionCode.getCode(),cartExceptionCode.getMessage());
    }
}
